<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>箭头函数</title>
    <script type="application/javascript">
        //定义函数a，参数为b，返回b+1
        var a = b => b + 1;
        console.log(a(1));
    </script>
</head>
<body>

</body>
</html>